﻿<UserControl x:Class="EasyInvoice.WPF.Content.ClientSignature"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:common="clr-namespace:EasyInvoice.WPF.Common"
             xmlns:vm="clr-namespace:EasyInvoice.WPF.ViewModel"
>
    <UserControl.Resources>
        <common:BinaryImageConverter x:Key="BinaryImageConverter"/>
    </UserControl.Resources>
    <UserControl.DataContext>
        <vm:ClientViewModel/>
    </UserControl.DataContext>
    <Grid>
        <Image  Source="{Binding Signature, Converter={StaticResource BinaryImageConverter}}"/>
    </Grid>
</UserControl>
